/**
 * 
 */
package com.oolong.account.service;

import junit.framework.TestCase;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.oolong.account.model.UserModel;

/**
 * @author oolong
 * 
 */
public class BaseTestCase extends TestCase {
	ApplicationContext applicationContext;
	UserModel user;

	/*
	 * (non-Javadoc)
	 * 
	 * @see junit.framework.TestCase#setUp()
	 */
	protected void setUp() throws Exception {
		super.setUp();
		applicationContext = new ClassPathXmlApplicationContext(
				"applicationContext.xml");
		ExtraService extraService = (ExtraService) applicationContext
				.getBean("extraService");
		user = extraService.validate("oolong", "");
	}

	public void test() {
		assertTrue(true);
	}

}
